package utils;

public class Calcs {
	public static double specificGravityToPlato(final double sg) {
        return -616.989 + 1111.488 * sg - 630.606 * Math.pow(sg, 2) + 136.10305 * Math.pow(sg, 3);
	}
	
	public static double platotoSpecificGravity(final double plato) {
	        return 1.0000131 + 0.00386777 * plato + 1.27447E-5 * Math.pow(plato, 2) + 6.34964E-8 * Math.pow(plato, 3);
	}
}
